package com.milestone.fitnesspersonaltrainer.repository.api;


import com.milestone.fitnesspersonaltrainer.model.CategoryModel;
import com.milestone.fitnesspersonaltrainer.model.Course;
import com.milestone.fitnesspersonaltrainer.model.Diet;
import com.milestone.fitnesspersonaltrainer.model.HomeModel;
import com.milestone.fitnesspersonaltrainer.model.News;
import com.milestone.fitnesspersonaltrainer.network.response.RxVoid;

import java.util.ArrayList;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.Url;

/**
 * Created by ThinkPad on 2017/11/2.
 */

public interface FitnessRepo {

    @GET
    Flowable<ArrayList<Course>> getCourseHome(@Url String url);

    Flowable<ArrayList<News>> getNewsHome(int pageIndex);

    Flowable<ArrayList<Diet>> getDietHome();

    Flowable<ArrayList<Diet.DietBean>> getDietList(int pageIndex, String type);

}
